<include file="$Header" />
  <div id="body">
    <div id="left">
      <div id="left-title">
        <h1>产品展示</h1>
        <h2>Product</h2>
      </div>
      <div id="left-list">
        <ul>
          <volist name="sort" id="lo">
        	<li><a class="cur" href="?a=product&sort=<{$lo.sort_id}>"><{$lo.title}></a></li>
          <img src="<{$APP_PUBLIC_PATH}>images/line.png" />
      </volist>
        </ul>
      </div>
            <div class="left-div">
      	<h3>新闻动态<span class="bluetitle">News</span></h3>
        <div class="more"><a href="?a=news">more</a></div>
        <ul class="news">
            <volist name="news" id="vo">
            	<li><a href="index.php?m=Index&a=news_detail&nid=<{$vo.news_id}>"><{$vo.title|strMax=###,20}></a><span><{$vo.time|date="m-d",###}></span></li>
            </volist>
        </ul>
      </div>
      <include file="$Left" />
    </div>
    <div id="right">
      <div id="right-title">产品展示<span class="bluetitle">Product</span></div>
      <div id="daohan">当前位置：<a href="">首页</a> >> 产品展示</div>
      <div class="contents">
       		<div class="product-detail">
            	<div class="product-img"><a target="_blank" href="Public/Uploads/m_<{$pic_first}>"><img src="Public/Uploads/m_<{$pic_first}>" /></a></div>
                <div class="product-imglist">
                	<ul>
                        <volist name="pic" id="po">
                            <li><a><img alt="Public/Uploads/m_<{$po.photourl}>" src="Public/Uploads/s_<{$po.photourl}>"  /></a></li>
                        </volist>
                    </ul>
                </div>
                <script type="text/javascript">
					$(function(){
						$(".product-imglist img").click(function(){
							var src = $(this).attr('alt');
							$(".product-img a").attr('href',src);
							$(".product-img a img").attr('src',src);
						});
						
					});
				</script>
                <volist name="product" id="vo">
            	<div class="product-div">
                	<table border="0" cellspacing="1" class="product-table">
                        <tbody>
                        	<tr>
                            	<td>尺寸[Sizes]</td>
                            	<td><{$vo.sizes}>[<{$vo.e_sizes}>]</td>
                            </tr>
                        	<tr>
                            	<td>单位[Units]</td>
                            	<td><{$vo.units}>[<{$vo.e_units}>]</td>
                            </tr>
                        	<tr>
                            	<td>价格[Price]</td>
                            	<td><{$vo.price}></td>
                            </tr>
                        </tbody>
                    </table>
                    <div class="product-contents">
                    <h4>详细信息：</h4>
                    <{$vo.contents}>
                    </div>
                    
              </div>
              </volist>
            </div>
      </div>
    </div>
  </div>
</div>
  <include file="$Footer" />
